<div id="contentFull">
	<h2>{$data.title}</h2>
	{$data.content}
</div>

{if $smarty.get.confirm}
<div id="confirmText">
    <p>Thank you!</p>
    <p>Your message was successfully sent to our support service and will be processed as soon as possible. We will get in touch with you.</p>
    <p>Things you can do now: <a href="{$INA.root}">Go back to the start page</a></p>
</div>
{else}
<form name="postContactForm" id="addNewInserat" enctype="multipart/form-data" method="post" action="{$INA.this}" onsubmit="disable('mainSubmitBut','Please Wait');">
    <fieldset>
        <legend>Contact Form</legend>

        <!-- start name -->
    	<label for="cfName">Your Name</label>
    	<div id="contactName">
    		<input type="text" id="cfName" maxlength="255" name="name" class="myinput borders{if $error.name} error{/if}" tabindex="1" value="{$smarty.post.name}" />
    		{if $error.name}
    		    <div class="errorMessage">
    		      Please indicate your full Name!
        		</div>
    		{/if}
    	</div>
    	<!-- end name -->
    	
    	<!-- start e-mail -->
    	<label for="cfMail">Your E-Mail Address</label>
    	<div id="email">
    		<input type="text" id="cfMail" maxlength="255" name="mail" class="myinput borders{if $error.mail} error{/if}" tabindex="2" value="{$smarty.post.mail}" />
    		{if $error.mail}
    		    <div class="errorMessage">
        		    Please provide a valid e-mail address, we want to answer your query!
        		</div>
    		{/if}
    	</div>
    	<!-- end e-mail -->
    	
    	<!-- start description -->
    	<label for="desc">Message to Tom Clever</label>
    	<div id="description">
			<textarea name="desc" id="desc" rows="8" cols="50" class="myinput borders{if $error.desc} error{/if}" tabindex="3">{$smarty.post.desc}</textarea>
			{if $error.desc}
				<div class="errorMessage">
				    Please write something good into the text field!
				</div>
			{/if}
		</div>
		<!-- end description -->
    	
    	<div id="submitButtons">
		  <input type="submit" name="go" value="Send" id="mainSubmitBut" tabindex="4" />
		</div>
   </fieldset>
</form>
{/if}